<!--
 * @description  : 市管-双随机列表展示组件
 * @descriptionDetail: 市管-双随机列表展示组件
 * @copyright    : 浙江烟草
 * @author       : sy
 * @create       : 2022-09-09 18:43:02
-->
<template>
  <view>
    <u-row gutter="0">
      <u-col span="12">
        <view class="title">
          <u-icon :label="client.groupName" label-size="30" size="36" name="../../static/check/icon_cooperate.png"></u-icon>
        </view>
      </u-col>
      <u-col span="12">
        <view class="sub-title">
          小组成员：{{ client.membernames || '' }}
        </view>
      </u-col>
      <u-col span="12">
        <view class="sub-title">
          任务时间：{{ client.startDate || '' }} - {{ client.endDate || '' }}
        </view>
      </u-col>
      <u-col span="12">
        <view class="sub-title">
          抽查户数：{{ client.randomClientNum }}
        </view>
      </u-col>
    </u-row>
  </view>
</template>
<script>

export default {
  name: "RandomGroupItem",
  props: {
    client: {
      type: Object,
      default: () => {},
    },
    iconText:{
      type:String,
      default:"arrow-down",
    },
  },
  data() {
    return {
      tels: [],
    }
  },
  watch: {
    client: {
      immediate: true,
      handler() {
        this.$forceUpdate();
      },
    },
  },
  methods: {
    closeRow(){
      this.$emit('closeRow',this.client);
    },
  },
}
</script>
<style lang="scss" scoped>
.title {
  font-size: 15px;
  color: #666;
  font-weight: 600;
  // margin: 5px 10px;
  margin: 5px 0px;
}
.sub-title {
  color: #666;
  margin: 3px 4px;
}
.address{
  padding-left: 8px;
}
</style>